package com.offcn.exception;

import com.offcn.feign.UserFeign;
import com.offcn.pojo.Movie;
import org.springframework.stereotype.Component;

@Component
public class MovieException implements UserFeign {
    @Override
    public Movie getMovie() {
        Movie movie = new Movie(-2, "电影丢失了");
        return movie;
    }
}
